if(oPlayer.aboveGround){
    view_xview=round(oPlayer.x+sprite_get_width(oPlayer.sprite_index)/2-view_wview/2);
    view_yview=round(oPlayer.y+sprite_get_height(oPlayer.sprite_index)-view_hview/2);
}else{
    view_xview=round(oPlayer.x+sprite_get_width(oPlayer.sprite_index)/2-view_wview/2);
    view_yview=round(oPlayer.y-view_hview/2);
}
